package com.lihua.imgs.upload.demos.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author lihua
 * @date 2024/4/17 10:55
 **/
@Controller
public class PageController {
    @GetMapping("/index")
    public String showIndex() {
        return "index";
    }

    @GetMapping("/index-plus")
    public String showIndexPlus() {
        return "index-plus";
    }

    /**
     * 水印
     */
    @GetMapping("/watermark")
    public String watermarkImg() {
        return "watermark";
    }

    /**
     * 水印，这个是能用的
     */
    @GetMapping("/watermark1")
    public String watermarkImg1() {
        return "watermark1";
    }

    /**
     * 压缩
     */
    @GetMapping("/compress")
    public String compress() {
        return "compress";
    }

    /**
     * 解析图片
     */
    @GetMapping("/exif")
    public String exif() {
        return "exif";
    }

}
